#include "inputdialog.h"
#include "ui_inputdialog.h"

InputDialog::InputDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::InputDialog)
{
    ui->setupUi(this);
}

InputDialog::~InputDialog()
{
    delete ui;
}
void InputDialog::display_received_text(QString tmp)
{
    ui->lineEdit_2->setText(tmp);
}

void InputDialog::on_pushButton_clicked()
{
    emit send_data(ui->lineEdit->text());
}
